package com.yt.lxh.search.repository;

import com.yt.lxh.model.search.SkuDoc;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SkuRepository extends ElasticsearchRepository<SkuDoc, String> {
    List<SkuDoc> findByKeywordContainingIgnoreCaseOrderBySort(String keyword);

}
